<!DOCTYPE html>
<html>
    <head>
        <title>Y Khoa Tâm An</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link type="text/css" rel="stylesheet" href="css/reset.css" />
        <link type="text/css" rel="stylesheet" href="css/text.css" />
        <link type="text/css" rel="stylesheet" href="css/960.css" />
        <link type="text/css" rel="stylesheet" href="css/form.css" />
        <link type="text/css" rel="stylesheet" href="css/perfect-scrollbar.min.css" />
        <link type="text/css" rel="stylesheet" href="css/bootstrap.min.css" />
        <link type="text/css" rel="stylesheet" href="css/style.css" />
        <link href='http://fonts.googleapis.com/css?family=Roboto&subset=vietnamese' rel='stylesheet' type='text/css'>
        <!--[if lt IE 8]>
        <link type="text/css" rel="stylesheet" href="css/style_ie7.css" />
        <![endif]-->
        
        <script type="text/javascript" src="js/jquery.min.js"></script>
        <script type="text/javascript" src="js/jquery.mousewheel-3.0.6.min.js"></script>
        <script type="text/javascript" src="js/perfect-scrollbar.min.js"></script>
        <!--<script type="text/javascript" src="js/jquery.hoverIntent.min.js"></script>-->
        <script type="text/javascript" src="js/bootstrap.min.js"></script>
        <script type="text/javascript" src="js/myscript.js"></script>
        
        <script type="text/javascript" src="js/jquery.cycle2.min.js"></script>
        <script type="text/javascript" src="js/jquery.cycle2.carousel.min.js"></script>
        <script type="text/javascript" src="js/jquery.cycle2.tile.min.js"></script>
    </head>
    <body>
        <div class="headerWrapper">
            <?php include('header.php'); ?>
        </div>
        
        <div class="main_1">
            <div class="container_12">
                <div class="blockHeight20"></div>
                <?php
                $filePath = '';
                $defaultPath = 'subpage/home.php';

                if (isset($_GET['show'])) {
                    $filePath = 'subpage/' . $_GET['show'] . '.php';

                    if (! file_exists($filePath)) {
                        $filePath = $defaultPath;
                    }
                } else {
                    $filePath = $defaultPath;
                }

                include($filePath);
                ?>
                <div class="blockHeight20"></div>
            </div>
        </div>
        
        <div class="footerWrapper">
            <?php include('footer.php'); ?>
        </div>
        
        <div id="scrollTop" title="Về đầu trang"></div>
    </body>
</html>
